* {
    margin: 0;
    padding: 0;
}
img {
    vertical-align: top;
}
table {
    /* border: 1px solid black; */
    border-collapse: collapse;
    width: 1160px;
    margin: 0 auto;
    text-align: center;
}
body {
    padding-top: 140px;
    box-sizing: border-box;
}
.link_a {
    text-decoration: none;    
}
.active {
    font-size: 14px !important;
    color: red !important;
}

header {
    width: 100%;
    background-color: #fff;
    position: fixed;
    top: 0;
    z-index:999;
    background-color: #fff;
}
header .head {
    width: 1160px;
    height: 100px;
    margin: 0 auto;
    /* position-color: skyblue; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .head .logo {
    width: 174px;
    height: 60px;
    /* background-color: pink; */
}
header .head .logo img {
    width: 100%;
}
header .head .user_info {
    width: 400px;
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
header .head .user_info .link {
    width: 100px;
    height: 22px;
    display: flex;
    justify-content: space-evenly;
}
header .head .user_info .link a{
    font-size: 13px;
    color: #333;
}
header .head .user_info .search {
    width: 160px;
    height: 32px;
    display: flex;
    border-bottom: 1px solid #000;
}
header .head .user_info .icon {
    width: 120px;
    height: 24px;
    display: flex;
    justify-content: space-between;
    margin-left: 8px;
}

header .head .user_info input {
    border: 0px;
    width: 130px;
}
header .head .user_info button {
    background: url(../images/ss.png);
    width: 20px;
    height: 20px;
    border: 0px;
    margin-top: 6px;
    cursor: pointer;
}

/* 大nav开始 */
header nav {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    /* border-top: 1px solid gray; */
    border-bottom: 1px solid gray;
    height: 40px;
    /* background-color:aquamarine; */
}
header nav .navigation {
    width: 1160px;
    height: 40px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
header nav .navigation>a {
    padding: 20px 20px;
    color: #333;
    font-size: 14px;
    transition: all 0.5s;
}

header nav .navigation>a[name="all"]:hover .all_product{
  height: 280px;
}
header nav .navigation a[name="accessories"] {
  transition: all 1s;
}
header nav .navigation a[name="accessories"]:hover .css{
  display: block;
}
header nav .navigation a[name="decorations"]:hover .decorations{
  display: block;
}
header nav .navigation span a{
    font-size: 12px;
    color: #666666;
}

header nav .navigation .all_product {
  width: 100%;
  height: 0;
  background-color: #fff;
  position: absolute;
  top: 41px;
  left:0;
  z-index: -1;
  overflow: hidden;
  transition: all 0.5s;
}
header nav .navigation .all_product .center {
  width: 1160px;
  height: 280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  transition: all 0.5s;
}
header nav .navigation .all_product .center .product_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
/* 第二个样式 */
header nav .navigation .css {
  width: 100%;
  height: 40px;
  display: none;
  position: absolute;
  background-color: #fff;
  top:41px;
  left:0;
  transition: all 0.5s;
}
header nav .navigation .css .center {
  width: 550px;
  height: 40px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  transition: all 0.5s;
}
header nav .navigation .css .center span:first-child {
  font-size: #000;
  margin-right: 10px;
  cursor: pointer;
}
header nav .navigation .css .center span:last-child {
  font-size: #000;
  cursor: pointer;
}
/* 第二个样式 */

/* 第三个样式 */
header nav .navigation .decorations {
  width: 100%;
  height: 40px;
  position: absolute;
  background-color: #fff;
  display: none;
  top:41px;
  left:0;
  transition: all 0.5s;
}
header nav .navigation .decorations .content {
  width: 550px;
  height: 40px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
header nav .navigation .decorations .content span:first-child {
  font-size: #000;
  margin-right: 10px;
  cursor: pointer;
}
header nav .navigation .decorations .content span:last-child {
  font-size: #000;
  cursor: pointer;
}
/* 大nav结束 */
.position {
    width: 1160px;
    height: 58px;
    margin: 0 auto;
    border-top: 1px solid #dbdbdb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}
.position a{
    font-size: 16px;
    color:#333;
}

/* 第二个放图片的 */
table tbody tr td:nth-child(2) {
    display: flex;
}
table tbody tr td{
    padding: 10px;
}
table tbody tr td:last-child a {
    font-size: 12px;
    color:#333;
}
table tbody tr td:nth-child(3) {
    font-size: 12px;
    color:#333;
}
table tbody tr td:nth-child(5) {
    font-size: 12px;
    color:#333;
}

table tbody tr td:nth-child(2) div:nth-child(2) {
    padding: 8px;
    text-align: left;
}
table tbody tr td:nth-child(2) div:nth-child(2) div:first-child {
    margin-bottom: 10px;
    font-size: 12px;
    color:#000;
}
table tbody tr td:nth-child(2) div:nth-child(2) span {
    font-size: 12px;
    color: #808080;
}
table tbody tr td:nth-child(2) div:nth-child(2) span a {
    font-size: 12px !important;
    color: #808080 !important;
}
table tbody tr td:nth-child(4) button{
    width: 27px;
    height: 27px;
}
/* 第二个商品栏位宽度300px */
table thead tr th:nth-child(2){
    width: 300px;
}
table thead{
    background-color: #e9e9e9;
    height: 40px;
}
table tbody tr{
    border-bottom: 1px black dashed;
}
table thead tr th:last-child {
    width: 150px;
}
table tfoot tr{
    width: 1160px;
    height: 40px;
    background-color: #e9e9e9;
}
table tfoot tr td span{
    color: #db0000;
}
table tfoot tr td:last-child button{
    width: 150px;
    height: 40px;
    border: none;
    background-color: #8e8e8e;
}

/* 页脚 */
footer .promise {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 116px;
    background-color: #fff;
}
footer .promiser {
    width: 1160px;
    height: 116px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer .promiser .item:last-child {
    border-right: none;
}
footer .promiser .item{
    flex:1;
    height: 53px;
    box-sizing: border-box;
    border-right: 1px solid #dbdbdb;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer .promiser .margin {
    margin-right: 12px;
}
footer .copyright {
    width: 100%;
	height: 84px;
	background-color: #000000;
    color: #fff;
    font-size:12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* 页脚 */